#!/usr/bin/env bash
cd /root/IdeaProjects/jvm-deep-learn/target/classes
JAVA_OPTS='-Xms20m -Xmx20m -XX:+HeapDumpOnOutOfMemoryError'
java $JAVA_OPTS ch2.P1_HeepOOM